<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>我的</title>
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<link href="../css/mui.css" rel="stylesheet"/>
	<link href="../css/mui.min.css" rel="stylesheet"/>
	<link href="../css/mui-icons-extra.css" rel="stylesheet"/>
	<link href="../css/app.css" rel="stylesheet"/>
</head>
<body>
	<!-- 头部TITLE -->
	<div class="app-my">
		<div class="app-my-bg">
			<img src="../files/imgs/tmp2.png">
		</div>
		<table class="app-my-title">
			<tr>
				<td class="app-title-img">
					<img src="../files/imgs/tmp2.png">
				</td>
				<td>
					<div class="app-signature">
					<b>昵称</b>
					<p>个人签名</p></p>
				</td>
				<td>
					<div class="app-my-set app-heart-blue" onclick="jumpToMyset()">
						<b>设置</b>
						<span class="mui-icon mui-icon-gear"></span>
					</div>
				</td>
			</tr>
		</table>
	</div>
	<!-- 头部TITLE -->
	
	<!-- 主体部分 -->
	<ul class="mui-table-view">
		<li class="mui-table-view-cell" onclick="jumpToMyZan()">
			<a class="mui-navigate-right">
				点赞
				<span class="mui-icon-extra mui-icon-extra-heart-filled app-heart-light"></span>
				<span class="app-list-right">
					<p class="app-heart-light" id="zanTotal">0</p>
				</span>
			</a>
		</li>
		<li class="mui-table-view-cell" onclick="jumpToMyCollect()">
			<a class="mui-navigate-right">
				收藏
				<span class="mui-icon mui-icon-starhalf app-heart-light"></span>
				<span class="app-list-right">
					<p class="app-heart-light" id="collectTotal">0</p>
				</span>
			</a>
		</li>
		<li class="mui-table-view-cell">
			<a class="mui-navigate-right">
				创作
				<span class="mui-icon mui-icon-plus app-heart-light"></span>
				<span class="app-list-right">
					<p class="app-heart-light" id="pubctTotal">0</p>
				</span>
			</a>
		</li>
<!-- 		<li class="mui-table-view-cell">
			<a class="mui-navigate-right">
				 拍摄
				 <span class="mui-icon mui-icon-videocam app-heart-light"></span>
			</a>
		</li> -->
		<li class="mui-table-view-cell">
			<a class="mui-navigate-right">
				 有奖建议
				 <span class="mui-icon mui-icon-compose app-heart-light"></span>
			</a>
		</li>
		<li class="mui-table-view-cell">
			<a class="mui-navigate-right">
				 使用帮助
				 <span class="mui-icon mui-icon-help app-heart-light"></span>
			</a>
		</li>
	</ul>
	<!-- 主体部分 -->
	
	<!-- 底部菜单 -->
	<nav class="mui-bar mui-bar-tab">
		<a class="mui-tab-item" onclick="jumpToIndex()">
			<span class="mui-icon mui-icon-home"></span>
			<span class="mui-tab-label">首页</span>
		</a>
		<a class="mui-tab-item" onclick="jumpToMarket()">
			<span class="mui-icon mui-icon-download"></span>
			<span class="mui-tab-label">库</span>
		</a>
<!-- 		<a class="mui-tab-item" onclick="jumpToMarket()">
			<span class="mui-icon mui-icon-download"></span>
			<span class="mui-tab-label">广场</span>
		</a> -->
<!-- 		<a class="mui-tab-item" onclick="jumpToCamera()">
			<span class="mui-icon mui-icon-camera"></span>
			<span class="mui-tab-label">拍</span>
		</a> -->
<!-- 		<a class="mui-tab-item" onclick="jumpToChat()">
			<span class="mui-icon mui-icon-chatbubble"></span>
			<span class="mui-tab-label">消息</span>
		</a> -->
		<a class="mui-tab-item mui-active" onclick="jumpToMy()">
			<span class="mui-icon mui-icon-contact"></span>
			<span class="mui-tab-label">我的</span>
		</a>
	</nav>
</body>
</html>

<script src="../js/mui.js"></script>
<script src="../js/app.js"></script>
<script type="text/javascript">
	// mui.init()
	// 获取点赞缓存
	function getZanTotal(){
		var cache = cacheGet(zanList);
		if (cache.length==0 || cache.list.length==0) {
			mui("#zanTotal")[0].innerHTML = 0;
			return
		}
		mui("#zanTotal")[0].innerHTML = cache.list.length;
	}
	// 获取收藏缓存
	function getCollectTotal(){
		var cache = cacheGet(collectList);
		if (cache.length==0 || cache.list.length==0) {
			mui("#collectTotal")[0].innerHTML = 0;
			return
		}
		mui("#collectTotal")[0].innerHTML = cache.list.length;
	}
</script>